package com.ruicar.afs.cloud.basic.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.basic.common.entity.BasicAssetsRepaymentPlan;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author: Lee
 * @date 2020-05-30 04:13:03 
 * @description 
 */
public interface BasicAssetsRepaymentPlanMapper extends BaseMapper<BasicAssetsRepaymentPlan> {

    @Update("update basic_assets_repayment_plan set actual_date = null where contract_no = #{contractNo} and term_no = #{termNo}")
    int updateActualDate(@Param("contractNo") String contractNo, @Param("termNo") int termNo);

}
